export function userMenus(user?: IUser): Array<IMenu> {
  return [
    {
      key: '/' + (user?.username ?? 'userrouter'), name: '用户路由', redirect: (user?.username ?? 'userrouter') + '/subscribeList', component: () => import('@/views-user/home.vue'),
      children: [{ key: 'subscribeList', name: '预约列表', component: () => import('@/views-user/subscribe-list/subscribe-list.vue') }],
    },
  ]
}
